/* breadcrumb transition */
.breadcrumb-enter-active,
.breadcrumb-leave-active {
  transition: all 0.5s;
}

.breadcrumb-enter-from,
.breadcrumb-leave-active {
  opacity: 0;
  transform: translateX(20px);
}

.breadcrumb-leave-active {
  position: absolute;
}

/* fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

/* fade-transform */
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all 0.5s;
}

.fade-transform-enter-from {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

/* router view transition */
.zoom-fade-enter-active,
.zoom-fade-leave-active {
  transition:
    transform 0.35s,
    opacity 0.28s ease-in-out;
}

.zoom-fade-enter-from {
  opacity: 0;
  transform: scale(0.97);
}

.zoom-fade-leave-to {
  opacity: 0;
  transform: scale(1.03);
}

.ant-menu-dark {
  background: rgba(0, 0, 0, 0) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}
.ant-menu-dark.ant-menu-inline .ant-menu-sub.ant-menu-inline {
  background-color: #0c4fad !important;
  color: rgba(255, 255, 255, 0.8) !important;
}
.ant-menu-dark .ant-menu-item-selected {
  background-color: #0748a3 !important;
  color: #ffffff !important;
}
.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item:not(.ant-menu-item-selected):hover {
  background-color: #105bc4 !important;
  color: rgba(255, 255, 255, 0.8) !important;
}
.ant-layout .ant-layout-sider {
  background: linear-gradient(360deg, #0b479c 0%, #1764ce 100%);
}
.ant-menu-inline .ant-menu-item {
  margin: 0;
}
.ant-menu-inline .ant-menu-submenu-title {
  margin: 0;
}

.bottomBox {
  height: 60px;
}
.bottomBtns {
  width: calc(100% - 200px);
  padding: 8px 20px;
  background: rgba(255, 255, 255, 1);
  border-top: 1px solid rgba(240, 240, 240, 1);
  position: fixed;
  bottom: 0;
  right: 0;
  text-align: right;
}

// form-item 上下间距
.ant-form-item {
  margin-bottom: 16px !important;
}

.ant-menu-dark.ant-menu-inline .ant-menu-item {
  width: 100%;
}
// 弹窗样式
.ant-modal .ant-modal-header {
  margin-bottom: 20px !important;
}
.ant-modal .ant-modal-footer {
  margin-top: 0;
}

// link按钮
.ant-btn-link {
  padding: 0;
}

//描述列表全局样式
.ant-descriptions.ant-descriptions-bordered {
  .ant-descriptions-item-label {
    background-color: #fafafa;
    color: #666666;
    padding: 14px 24px;
  }

  .ant-descriptions-item-content {
    padding: 14px 12px;
  }
}

.ant-modal .ant-modal-body {
  max-height: 70vh;
  overflow: auto;
}
.ant-modal .ant-modal-title {
  color: #444444 !important;
  font-weight: 400 !important;
}

// 表格内按钮
.ant-btn-link:not(:disabled):hover {
  color: rgba(23, 100, 206, 0.8) !important;
}
.ant-btn-link {
  color: #1764ce !important;
}

//多行输入框数字
.ant-input-textarea-show-count::after {
  color: #999999;
}

//有选择的表格样式
.ant-table-wrapper .ant-table-tbody > tr.ant-table-row-selected:hover > td {
  background: #f2f6fc4c;
}

.ant-table-wrapper .ant-table-tbody > tr.ant-table-row:hover > td,
.ant-table-wrapper .ant-table-tbody > tr > td.ant-table-cell-row-hover {
  background: #f2f6fc4c;
}

//步骤条
.ant-steps {
  .ant-steps-item-content {
    .ant-steps-item-title {
      color: #444444 !important;
    }
  }

  .ant-steps-item-finish {
    .ant-steps-item-icon {
      background-color: #1764ce;
      border-color: #1764ce;

      .ant-steps-icon {
        color: #ffffff !important;
      }
    }
  }

  .ant-steps-item-wait {
    .ant-steps-item-container {
      .ant-steps-item-icon {
        background-color: #ffffff;
        border-color: #f0f0f0 !important;

        .ant-steps-icon {
          color: #666666 !important;
        }
      }

      .ant-steps-item-content {
        .ant-steps-item-title {
          color: #666666 !important;
        }
      }
    }
  }

  .ant-steps-item-title::after {
    height: 2px;
  }

  .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button'] {
    cursor: default;
  }
}

/* 隐藏垂直滚动条 */
.ant-table-body::-webkit-scrollbar {
  display: none; /* 将垂直滚动条隐藏起来 */
}

//修改日历样式
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-start:not(
    .ant-picker-cell-range-start-single
  ).ant-picker-cell-range-hover-start::before {
  background: #f2f6fc;
}

.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover::before,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover::before,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover::before,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-start:not(
    .ant-picker-cell-range-start-single
  ).ant-picker-cell-range-hover-start::before,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-end:not(
    .ant-picker-cell-range-end-single
  ).ant-picker-cell-range-hover-end::before,
.ant-picker-panel
  > :not(.ant-picker-date-panel)
  .ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start::before,
.ant-picker-panel
  > :not(.ant-picker-date-panel)
  .ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
  background: #f2f6fc;
}

.ant-picker-dropdown
  .ant-picker-date-panel
  .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start
  .ant-picker-cell-inner::after,
.ant-picker-dropdown
  .ant-picker-date-panel
  .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end
  .ant-picker-cell-inner::after {
  background: #f2f6fc;
}

.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(
    .ant-picker-cell-range-start
  ):not(.ant-picker-cell-range-end)::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(
    .ant-picker-cell-range-start
  ):not(.ant-picker-cell-range-end)::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range)::after {
  background: #f2f6fc;
  border-top: none;
  border-bottom: none;
}

tr > .ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover:last-child::after,
tr
  > .ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(
    .ant-picker-cell-range-hover-edge-end-near-range
  )::after,
.ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-end::after {
  border-inline-end: none;
}

tr > .ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover:first-child::after,
tr
  > .ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range::after,
.ant-picker-dropdown
  .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(
    .ant-picker-cell-range-hover-edge-start-near-range
  )::after,
.ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-start::after {
  border-inline-start: none;
}

.ant-picker-dropdown
  .ant-picker-content
  .ant-picker-cell.ant-picker-cell-in-view.ant-picker-cell-range-hover::before {
  background: #f2f6fc;
}

.ant-picker-dropdown
  .ant-picker-content
  .ant-picker-cell.ant-picker-cell-in-view.ant-picker-cell-range-hover-end::before {
  background: #f2f6fc;
}

//修改时间选择选中样式
.ant-picker-dropdown
  .ant-picker-content
  .ant-picker-time-panel-column
  .ant-picker-time-panel-cell.ant-picker-time-panel-cell-selected
  .ant-picker-time-panel-cell-inner {
  background: rgba(23, 100, 206, 1) !important;
  color: #ffffff !important;
}

//修改时间选择悬浮样式
.ant-picker-dropdown
  .ant-picker-content
  .ant-picker-time-panel-column
  .ant-picker-time-panel-cell
  .ant-picker-time-panel-cell-inner:hover {
  background: #f2f6fc;
  color: #444444;
}

//日期悬浮样式
.ant-picker-dropdown .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
.ant-picker-dropdown
  .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(
    .ant-picker-cell-range-end
  ):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end)
  .ant-picker-cell-inner {
  background: #f2f6fc;
}

//下拉选中
.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  color: #1764ce;
}

//文书表单标签颜色设置
.bookForm.ant-form .ant-form-item .ant-form-item-label > label {
  color: #1764ce;
}

//弹窗标题
.ant-modal-confirm .ant-modal-confirm-body .ant-modal-confirm-title {
  color: #666666;
  font-weight: 400;
  line-height: 24px;
}
